package com.cbs.utils.test;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import com.cbs.utils.S;

/**
 * Created by brochexu on 4/22/14.
 */
public class MyActivity extends Activity {
    private static final String TAG = MyActivity.class.getName();

    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        findViewById(R.id.clipboard).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                S.copyToClipboard(MyActivity.this, "test str 测试");
            }
        });

    }
}
